Infixs\CorreiosAutomatico\Core\Shipping\CorreiosShippingMethod A

Total Complexity 56
Dependencies 9
Dependents 2
Total lines 613
Lines of code 389
Logical lines of code 129
Comment lines 130
Methods 15
Properties 20

Methods 15

Method Rating Maintainability Complexity Lines of code
calculate_shipping()
A
41 13 53
resolve_basic_service()
A
53 14 21
init_form_fields()
A
29
1 184
map_options()
A
49 10 32
__construct()
S
48 1 33
get_enabled_option()
S
73 3 4
update_instance_settings_values()
S
66 2 8
get_shipping_classes_options()
S
64 2 10
can_be_calculated()
S
70 2 6
get_product_code()
S
79 2 3
get_object_type_code()
S
72 2 6
admin_options()
S
61 1 13
get_admin_options_html()
S
80 1 3
get_package()
S
64 1 10
get_auto_prepost()
S
82 1 3